"""
@author: shaoshuai
@file :settings.py
@time: 2021/12/10 14:15
"""
import os

# 根目录的路径
BASE_PATH = os.path.dirname(os.path.dirname(__file__))

# db文件夹的目录
DB_PATH = os.path.join(BASE_PATH,'db')

# db文件夹中的db.txt文件的路径
DB_TXT_PATH = os.path.join(DB_PATH,'db.txt')

# story_class.txt文件目录路径
STORY_PATH = os.path.join(DB_PATH,'story_class.txt')

# 小说存放目录
FICTION_DIR = os.path.join(DB_PATH,'fictions')

# 日志文件路径
LOG_PATH = os.path.join(BASE_PATH,'log','log.txt')
